﻿Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class melee

        Private hdMainHandDamage As New List(Of damage)
        Private hdOffHandDamage As New List(Of damage)
        Private hsMainHandSpeed As New List(Of speed)
        Private hsOffHandSpeed As New List(Of speed)
        Private mpPower As New List(Of melee_power)
        Private phrHitRating As New List(Of physical_hitRating)
        Private pccCritChance As New List(Of physical_critChance)
        Private eExpertise As New List(Of expertise)

        <XmlElement()> Public Property mainHandDamage() As List(Of damage)
            Get
                Return hdMainHandDamage
            End Get
            Set(ByVal value As List(Of damage))
                hdMainHandDamage = value
            End Set
        End Property

        <XmlElement()> Public Property offHandDamage() As List(Of damage)
            Get
                Return hdOffHandDamage
            End Get
            Set(ByVal value As List(Of damage))
                hdOffHandDamage = value
            End Set
        End Property

        <XmlElement()> Public Property mainHandSpeed() As List(Of speed)
            Get
                Return hsMainHandSpeed
            End Get
            Set(ByVal value As List(Of speed))
                hsMainHandSpeed = value
            End Set
        End Property

        <XmlElement()> Public Property offHandSpeed() As List(Of speed)
            Get
                Return hsOffHandSpeed
            End Get
            Set(ByVal value As List(Of speed))
                hsOffHandSpeed = value
            End Set
        End Property

        <XmlElement()> Public Property power() As List(Of melee_power)
            Get
                Return mpPower
            End Get
            Set(ByVal value As List(Of melee_power))
                mpPower = value
            End Set
        End Property

        <XmlElement()> Public Property hitRating() As List(Of physical_hitRating)
            Get
                Return phrHitRating
            End Get
            Set(ByVal value As List(Of physical_hitRating))
                phrHitRating = value
            End Set
        End Property

        <XmlElement()> Public Property critChance() As List(Of physical_critChance)
            Get
                Return pccCritChance
            End Get
            Set(ByVal value As List(Of physical_critChance))
                pccCritChance = value
            End Set
        End Property

        <XmlElement()> Public Property expertise() As List(Of expertise)
            Get
                Return eExpertise
            End Get
            Set(ByVal value As List(Of expertise))
                eExpertise = value
            End Set
        End Property

    End Class

End Namespace